<?php
class Validation_Email extends Validation {
	protected $message = "L&#7895;i: &#272;&#7883;a ch&#7881; \"%element%\" kh&#244;ng ch&#237;nh x&#225;c.";

	public function isValid($value) {
		if($this->isNotApplicable($value) || filter_var($value, FILTER_VALIDATE_EMAIL))
			return true;
		return false;
	}
}
